
		<ol class="breadcrumb">
		  <li><a href="/users/index"><i class="fa fa-home"></i>&nbsp;&nbsp;{{__('Personal Center')}}</a></li>
		  <li class="active">{{ __('Edit Profile')}}</li>
		</ol>           
       <hr>
    <?php
	    echo $this->Session->flash();
	    echo $this->Form->create('User',array(
	    'class'=>'form-horizontal', 
	    'inputDefaults' => array(
			'div' => array(
			'class' => 'form-group'
			),
			'label' => array(
			'class' => 'col-xs-3 control-label'
			),
			'between' => '<div class="col-xs-9">',
			'after' => '</div>',
			'class' => 'form-control',
		),
		'role' => 'form',));
    ?>
        <fieldset>
        <?php
        	echo $this->Form->input('id');
            echo $this->Form->input('password', array('value' => '','minlength'=>6,'maxlength'=>15));
            echo $this->Form->input('new_password',array('type' => 'password','label' => array(
				'text' => '新密码',
				'class' => 'col-xs-3 control-label',
			),'minlength'=>6,'maxlength'=>15,'value' => '','after'=>'<small>提示：密码长度不超过15位</small></div>'));
            echo $this->Form->input('password_confirm', array('type' => 'password','label' => array(
				'text' => '确认密码',
				'class' => 'col-xs-3 control-label',
			),'minlength'=>6,'maxlength'=>15,'value' => ''));
        ?>
       
        </fieldset>
    {{$this->Form->submit(__('Submit'),array(
    		'class' => 'btn btn-primary',
			'div' => 'form-group',
			'before' => '<div class="col-xs-offset-3 col-xs-9">',
			'after' => '</div>',
    ))}}
    {{$this->Form->end()}}